/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fwdisp.gui.moduls;

import javax.swing.JTable;
import javax.swing.ListSelectionModel;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author rbs
 */
public class IDTable extends JTable {

    public IDTable(DefaultTableModel dtm) {
        super(dtm);
        getColumnModel().getColumn(0).setMaxWidth(25); 
        setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    }

    @Override
    public boolean isCellEditable(int row, int column) {
        
        if (column == 0)
            return false;
        else
            return true;
    }
    
    
}
